package com.wulijie.xiangyuan;

/**
 * @Author cui
 * @Data
 */
public class WebSiteClient {
    public static void main(String[] args) {
        WebFactory factory = new WebFactory();
        WebSite target = factory.getTarget("网站");
        WebSite target1 = factory.getTarget("小程序");
        target.use(new User("小明"));
        target.use(new User("小qwqw"));
        target1.use(new User("小明"));

        System.err.println(factory.thisCount());
    }
}
